package com.data.basic.chapter03;

/**
 * Created by wangbing on 2018/5/1.
 */
public class Main {
    public static void main(String[] args) {
        ArrayStack<Integer> stack = new ArrayStack();
        for (int i=0;i<6;i++){
            stack.push(i);
//            System.out.println(stack);
        }
        stack.pop();
        System.out.println(stack);
        System.out.println(stack.peek());
    }
}
